<template>
  <div class="menu">
    <pagesContent :table-config="tableConfig" pages-name="menu">
      <template v-slot:headerHand>
        <el-button type="primary">添加菜单</el-button>
      </template>
    </pagesContent>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import pagesContent from '@/components/pages-content/pages-content.vue'
import { tableConfig } from '@/views/main/system/menu/config/table-config'
export default defineComponent({
  name: 'menu-pages',
  components: {
    pagesContent
  },
  setup() {
    return { tableConfig }
  }
})
</script>

<style scoped></style>
